$KCODE = "u"
require 'jcode'
require "gtk2"
require "hpricot"
require 'builder'
require 'gettext'
require 'gettext/utils'

require "gtk-gnome2/MenuItemsManager"
require "gtk-gnome2/TaskMenuBarManager"
require "gtk-gnome2/ListPanelManager"
require "gtk-gnome2/TreePanelManager"
require "gtk-gnome2/MouseRightMenuManager"
require "gtk-gnome2/StatusiconManager"
require "gtk-gnome2/TaskForm"
require "gtk-gnome2/FileHandleDialog"
require "gtk-gnome2/UIContext"
require "gtk-gnome2/MainUI"

require "model/Configure"
require "model/Task"
require "util/uuid"
require "TaskXMLParser"
require "TaskXMLBuilder"
require "TaskManager"
require "Context"

class SmarTask
  def initialize
    context = Context.new
    context.taskManager=TaskManager.new Array.new
    MainUI.new context
  end
end

SmarTask.new
Gtk.init
Gtk.main